package com.mycompany.testcases.neville;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import com.mycompany.project.client.chee.HabitatConfiguration;
import com.mycompany.project.client.chee.ModuleList;

public class QualityConfigurationTest{

private static HabitatConfiguration configurationTest = new HabitatConfiguration();
	
	@Before
	public void initMList()
	{	//initialze the module list first
		ModuleList.getMlist().clear();
		ModuleList.initMList();

		assert configurationTest.getGridList()  != null;
		assert configurationTest.getMlist()  != null;
		assert configurationTest.getModuleNumber()  != null;
	}
	
	@Test
	public void test1() {
		//this test will check to make sure the size is correct.
		configurationTest.initList();
		
		assertEquals(configurationTest.getGridList().size(), 10);
		//assertEquals("configurationTest.getGrid_list().size() equals 10");
		
		assertEquals(configurationTest.getMlist().size(), 10);
		//assertEquals("configurationTest.getM_list().size() equals 10");
		
		assertEquals(configurationTest.getModuleNumber().size(), 10);
		//assertEquals("configurationTest.getModuleNumber().size() equals 10"); 
	}
	@Test
	public void test2() {
		
	//...	
		
		
	}
	
}
